package com.khai.sdk.api;

import com.khai.sdk.dto.ReqVo;
import com.khai.sdk.dto.ResVo;
import com.khai.sdk.dto.UserReqVo;
import com.khai.sdk.dto.UserResVo;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by KhaiLoon on 16/8/3.
 */
@FeignClient(value = "app1")
public interface SendService {
    @RequestMapping(value = "/feign/findUser", method = RequestMethod.POST)
    ResVo<UserResVo> findUser(@RequestBody ReqVo<UserReqVo> vo);
}
